'use strict';

module.exports = function(grunt) {

	grunt.loadNpmTasks('grunt-contrib-connect');

	grunt.initConfig({
		// The actual grunt server settings
	    connect: {
	      server: {
	      	options: {
	      		hostname: 'localhost',
	      		port: 1337,
	      		keepalive: true,
	      		open: {
	      			target: 'http://localhost:1337'
	      		}
	      	}
	      }
	    }
	});

	grunt.registerTask('serve', ['connect']);
}